package com.wl.DataBase;

/**
 * 用户名规则的一些正则表达式
 * @author TaiZai
 * @data 2024/10/9 19:17
 */
public class UserRules {
    public static final String USERNAME_REGEX = "^[\\w]{2,9}$";
    public static final String PASSWORD_REGEX = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d]{6,10}$";
    public static final String EMAIL_REGEX = "^[1-9]\\d{3,11}@qq\\.com$";
    public static final String PHONE_REGEX = "^1[35789]\\d{9}$";
}
